package com.yl.config.jersey;/*
package com.yl.config.jersey;

import org.glassfish.jersey.jackson.JacksonFeature;
import org.glassfish.jersey.server.ResourceConfig;
import org.glassfish.jersey.server.spring.SpringComponentProvider;
import org.glassfish.jersey.server.spring.scope.RequestContextFilter;

//@Configuration
public class JerseyConfig extends ResourceConfig {
    public JerseyConfig() {
        //注册类的方式
        register(com.yl.ssm.jersey.impl.HelloJerseyServiceImpl.class);

        //注册包的方式
        //packages("com.yl.module.common.jersey.impl");
        register(RequestContextFilter.class);
        register(JacksonFeature.class);
        register(RequestContextFilter.class);
        register(SpringComponentProvider.class);
    }
}
*/
